.canvas {
  height: 100%;
  background-color: #fff;
  overflow: auto;
  .wrapper {
    margin: 12px;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 12px;
    &:hover {
      border-color: #d9d9d9;
    }
    .component {
      pointer-events: none; // 禁止组件内部的事件冒泡
    }
  }
  .selected {
    border-color: #1890ff !important;
  }
  .locked {
    opacity: 0.5;
    cursor: not-allowed;
  }
}
